package com.rh.service.Impl;

import com.rh.entity.SubjectType;
import com.rh.mapper.SubjectTypeMapper;
import com.rh.service.SubjectTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

@Service
@Transactional
public class SubjectTypeServlceImpl implements SubjectTypeService {
    @Autowired
    private SubjectTypeMapper subjectTypeMapper;
    @Override
    public List<SubjectType> getSubjectAll() {
        return subjectTypeMapper.getSubjectAll();
    }
}
